home *** CD-ROM | disk | FTP | other *** search
/ Quick PC 61 / Quick PC 61.iso / I386 / FORFILES.EX_ / forfiles.exe / string.txt next >
Encoding:
Text File  |  2003-03-25  |  5.9 KB  |  116 lines

  1. 151    Type "FORFILES /?" for usage.\n
  2. 152    Invalid syntax.\n
  3. 154    Invalid date specified.\n
  4. 155    No files found with the specified search criteria.\n
  5. 161    Files of type 
  6. 162     not found. \n
  7. 163     is not a valid executable.\n
  8. 164    TRUE
  9. 165    FALSE
  10. 167    Access is denied for 
  11. 169    .\n
  12. 170    "
  13. 171    The specified directory does not exist.\n
  14. 172    UNC paths (\\machine\share) are not supported.\n
  15. 173    MM%sdd%syyyy
  16. 174    MM%syyyy%sdd
  17. 175    dd%sMM%syyyy
  18. 176    dd%syyyy%sMM
  19. 177    yyyy%sdd%sMM
  20. 178    yyyy%sMM%sdd
  21. 201    \n
  22. 202    FORFILES [/P pathname] [/M searchmask] [/S]\n
  23. 203             [/C command] [/D [+ | -] {%s | dd}]\n\n
  24. 204    Description:\n
  25. 205        Selects a file (or set of files) and executes a \n
  26. 206        command on that file. This is helpful for batch jobs.\n\n
  27. 207    Parameter List:\n
  28. 208        /P    pathname      Indicates the path to start searching.\n
  29. 209                            The default folder is the current working\n
  30. 210                            directory (.).\n\n
  31. 211        /M    searchmask    Searches files according to a searchmask.\n
  32. 212                            The default searchmask is '*' .\n\n
  33. 213        /S                  Instructs forfiles to recurse into\n
  34. 214                            subdirectories. Like "DIR /S".\n\n
  35. 215        /C    command       Indicates the command to execute for each file.\n
  36. 216                            Command strings should be wrapped in double\n
  37. 217                            quotes. \n\n
  38. 218                            The default command is "cmd /c echo @file".\n\n
  39. 219                            The following variables can be used in the\n
  40. 220                            command string:\n
  41. 221                            @file    - returns the name of the file.\n
  42. 222                            @fname   - returns the file name without\n
  43. 223                                       extension.\n
  44. 224                            @ext     - returns only the extension of the\n
  45. 225                                       file.\n
  46. 226                            @path    - returns the full path of the file.\n
  47. 227                            @relpath - returns the relative path of the\n
  48. 228                                       file.\n
  49. 229                            @isdir   - returns "TRUE" if a file type is\n
  50. 230                                       a directory, and "FALSE" for files.\n
  51. 231                            @fsize   - returns the size of the file in\n
  52. 232                                       bytes.\n
  53. 233                            @fdate   - returns the last modified date of the\n
  54. 234                                       file.\n
  55. 235                            @ftime   - returns the last modified time of the\n
  56. 236                                       file.\n\n
  57. 237                            To include special characters in the command \n
  58. 238                            line, use the hexadecimal code for the character\n
  59. 239                            in 0xHH format (ex. 0x09 for tab). Internal\n
  60. 240                            CMD.exe commands should be preceded with\n
  61. 241                            "cmd /c".\n\n
  62. 242        /D    date          Selects files with a last modified date greater\n
  63. 243                            than or equal to (+), or less than or equal to\n
  64. 244                            (-), the specified date using the\n
  65. 245                            "%s" format; or selects files with a\n
  66. 246                            last modified date greater than or equal to (+)\n
  67. 247                            the current date plus "dd" days, or less than or\n
  68. 248                            equal to (-) the current date minus "dd" days. A\n
  69. 249                            valid "dd" number of days can be any number in\n
  70. 250                            the range of 0 - 32768.\n
  71. 251                            "+" is taken as default sign if not specified.\n\n
  72. 252        /?                  Displays this help message.\n\n
  73. 253    Examples:\n
  74. 254        FORFILES /?\n
  75. 255        FORFILES  \n
  76. 256        FORFILES /P C:\WINDOWS /S /M DNS*.* \n
  77. 257        FORFILES /S /M *.txt /C "cmd /c type @file | more"\n
  78. 258        FORFILES /P C:\ /S /M *.bat\n
  79. 259        FORFILES /D -30 /M *.exe\n
  80. 260                 /C "cmd /c echo @path 0x09 was changed 30 days ago"\n
  81. 261        FORFILES /D %s\n
  82. 262                 /C "cmd /c echo @fname is new since Jan 1st 2001"\n
  83. 263        FORFILES /D +%s /C "cmd /c echo @fname is new today"\n
  84. 264        FORFILES /M *.exe /D +1\n
  85. 265        FORFILES /S /M *.doc /C "cmd /c echo @fsize" \n
  86. 266        FORFILES /M *.txt /C "cmd /c if @isdir==FALSE notepad.exe @file"
  87. 267    \n
  88. 5001    ERROR:
  89. 5002    WARNING:
  90. 5003    SUCCESS:
  91. 5004    INFO:
  92. 5005    N/A
  93. 5501    Type the password for %s:
  94. 5502    Passing the user credential for local connection.\n
  95. 5503    The target system must be running Windows XP or above.\n
  96. 5504    The remote system must be running Windows 2000 or above.\n
  97. 5601    Invalid syntax. '%s' value is not allowed for '%s' option.\n%s\n
  98. 5602    Invalid syntax. Specify valid numeric value for '%s'.\n%s\n
  99. 5603    Invalid syntax. Specifiy valid floating point value for '%s'.\n%s\n
  100. 5604    Invalid syntax. Mandatory option '%s' is missing.\n%s\n
  101. 5605    Invalid syntax. '%s' option is not allowed more than '%d' time(s).\n%s\n
  102. 5607    Invalid argument/option - '%s'.\n%s\n
  103. 5608    Invalid syntax. Default argument is missing.\n%s\n
  104. 5609    Length of the command line argument should not exceed 255 characters.\n
  105. 5610    Invalid syntax. Default option is not allowed more than '%d' time(s).\n%s\n
  106. 5611    Invalid syntax. Value expected for '%s'.\n%s\n
  107. 5612    Invalid syntax. '%s' value is not allowed as default argument.\n%s\n
  108. 5613    Type "%s /?" for usage.
  109. 5614    Value for '%s' option cannot be empty.\n%s\n
  110. 5615    Value for default option cannot be empty.\n%s\n
  111. 5616    Invalid syntax. Specify valid numeric value for default.\n%s\n
  112. 5617    Invalid syntax. Specifiy valid floating point value for default.\n%s\n
  113. 5618    Value for default option cannot be more than %d character(s).\n
  114. 5619    Invalid syntax. Value cannot be specified with '%s' option.\n%s\n
  115. 5620    Value for '%s' option cannot be more than %d character(s).\n
  116.